"use strict";

const Controller = require("egg").Controller;

class HomeController extends Controller {
    async index() {
        // ctx 就是 Koa 的 ctx
        const { ctx } = this;
        ctx.body = "hi, egg";
    }
}

module.exports = HomeController;
